namespace jQube.Web.UI
{
    using System;

    [AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = true)]
    public class RequiredStyleSheetAttribute : Attribute
    {
        private string styleSheetResourceName;
        private Type extendedType;

        public RequiredStyleSheetAttribute(string styleSheetResourceName)
        {
            this.styleSheetResourceName = styleSheetResourceName;
        }

        public RequiredStyleSheetAttribute(Type extendedType)
        {
            this.extendedType = extendedType;
        }

        public string StyleSheetResourceName
        {
            get
            {
                return this.styleSheetResourceName;
            }
        }

        public Type ExtendedType
        {
            get
            {
                return this.extendedType;
            }
        }
    }
}
